#pragma once
#include "mkvstream.hpp"
#include <mmreg.h>

namespace MkvMux
{

class MkvStreamAudio : public MkvStream
{
    MkvStreamAudio(const MkvStreamAudio&);
    MkvStreamAudio& operator=(const MkvStreamAudio&);

protected:    
    MkvStreamAudio(MkvContext&, const BYTE*, ULONG);

    void WriteTrackType();
    void WriteTrackSettings();
    
    const WAVEFORMATEX& GetFormat() const;

public:
    bool Wait() const;

private:

    WAVEFORMATEXTENSIBLE m_wfx;
    
};

}  //end namespace MkvMux
